const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,

  token: state => state.user.token,
  avatar: state => state.user.avatar,
  nickname: state => state.user.nickname,
  username: state => state.user.username,
  roles: state => state.user.roles,
  userInfo: state => state.user.info,

  title: state => state.settings.title,
  logo: state => state.settings.logo,
  fixedHeader: state => state.settings.fixedHeader,
  sidebarLogo: state => state.settings.sidebarLogo,
  defaultOpeneds: state => state.settings.defaultOpeneds,
}
export default getters
